/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package taganalysistoolsclient;

import elaborate.tag_analysis.model.Resource;
import elaborate.tag_analysis.model.TURRelation;
import elaborate.tag_analysis.model.Tag;
import elaborate.tag_analysis.model.User;
import elaborate.tag_analysis.restws.client.ResourceDao;
import elaborate.tag_analysis.restws.client.TURRelationDao;
import elaborate.tag_analysis.restws.client.TagDao;
import elaborate.tag_analysis.restws.client.UserDao;
import java.util.List;

/**
 *
 * @author lendle
 */
public class TagAnalysisToolsClient6 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception {
        // TODO code application logic here
        
        ResourceDao resourceDao = new ResourceDao("http://taganalysis.appspot.com/rest/resource");
        List<Resource> resources = resourceDao.findAll("flickr");
        if (resources != null) {
            for (Resource resource : resources) {
                System.out.println(resource.getId());
            }
        }

    }
}
